//
//  SSViewController.m
//  SubspecTest
//
//  Created by faneyoung@126.com on 10/21/2019.
//  Copyright (c) 2019 faneyoung@126.com. All rights reserved.
//

#import "SSViewController.h"
#import <SubspecTest.h>


@interface SSViewController ()

@end

@implementation SSViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)btnClick:(UIButton *)sender {
    switch (sender.tag) {
        case 0:{
            ReportRepairViewController *vc = [[ReportRepairViewController alloc] init];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
        case 1:{
            VisitorRegistViewController *visitorVC = [[VisitorRegistViewController alloc] init];
            [self.navigationController pushViewController:visitorVC animated:YES];
        }
            break;
        case 2:{
            ComplainPraiseViewController *cVC = [[ComplainPraiseViewController alloc] init];
            [self.navigationController pushViewController:cVC animated:YES];
        }
            break;
        case 3:{

        }
            break;

        default:
            break;
    }
    
}

@end
